home *** CD-ROM | disk | FTP | other *** search
/ Trading on the Edge / Trading On The Edge - CD-ROM Toolkit (Wayzata Technology)(2031)(1994).bin / mac / Mac_Files / Vendor Demos / HiQ / HiQ•Help / HiQ•Help.rsrc / PICT_10804_Optimization pg 4.png < prev    next >
Portable Network Graphic  |  1992-04-28  |  48KB  |  816x1056  |  8-bit (256 colors)
Labels: chat room | crt screen | monitor | reckoner | sky
OCR: OPTIMIZER SAMPLE CRIPTS Example 1.Determine the minimum of the function: 100 (x2-2) (1-x) and its location. The exact value of the minimum value is zero; the optimizing vector is (1, 1). Problem Script: Conjugate Gradient: project optFct; local tolerance, maxiterations; tolerance 1.0e-10 maxlterations 200 initVector {-1.2,1}; function optFct(x) return 100 (x[2]-x[1]^2)^2 1-x[1]) ^2 end function [minValue optVector optlterations] OptConGradient( optFct, initVector tolerance maxlterations); SCRIPTS